<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>iframe前端编辑器</title>
</head>
<body>
<div id="editContent" style="width: 100%;height: 100%;border: solid red 1px">

</div>

<script>
  window.onload=function(){
    document.designMode = 'on'
  }
</script>
</body>
</html>
